package com.rabbit.service.domain.entity;

import java.math.BigDecimal;
import java.time.LocalDate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@Entity
@Table(name="group_data")
public class GroupDataEntity {
    @Id
   	@Column(name = "auto_id", columnDefinition="INTEGER  COMMENT '主键'") 
	private String autoId;
    
    @Column(name = "id", columnDefinition="VARCHAR(10)  COMMENT '设备ID'") 
	private String id;
    
    @Column(name = "hour", columnDefinition="INTEGER  COMMENT '事件时间节点 24小时分隔 小时，5~17'") 
	private Integer hour;
    
    @Column(name = "time_group", columnDefinition="INTEGER  COMMENT '时间分组'") 
	private Integer timeGroup;
    
    @Column(name = "weekday", columnDefinition="INTEGER  COMMENT '1 是周末 0 不是 '") 
	private Integer weekday;
    
    @Column(name = "count", columnDefinition="INTEGER  COMMENT '当前时段信号数，单位：次'") 
	private Integer count;
    
    @Column(name = "status", columnDefinition="VARCHAR(1)  COMMENT 'U 未知 S 停车 M 移动 '") 
	private String status;
    
    @Column(name = "mlng", columnDefinition="INTEGER  COMMENT '平均经度'") 
	private BigDecimal mlng;
    
    @Column(name = "mlat", columnDefinition="decimal(20,8)  COMMENT '平均纬度'") 
	private BigDecimal mlat;
    
    @Column(name = "date", columnDefinition="VARCHAR(10)  COMMENT '事件时间'") 
	private String date;
}